package Model;


/**
 *
 * @author HOANG TRUONG DINH
 */
public abstract class Entity implements Runnable {

    //x location
    protected double x;
    //y location
    protected double y;
    //sprite that represents
    protected Sprite sprite;
    //speed horizontally (pixels/sec)
    protected double dx;
    //speed vertically (pixels/sec)
    protected double dy;
    
    public Entity(){}
    public Entity(String ref, int x, int y) {
        this.x = x;
        this.y = y;
    }

}
